<?php
if ($store && $page) {
    $page = unserialize($page->value);
    ?>
    <?php
    if (in_array($page['title'], array('homepage', 'ploicy'))) {
        $page['title'] = lang('label_values_' . $page['title']);
    }
    ?>
    <h1><span></span><?= $storename->value . ' (' . $page['title'] . ')' ?></h1>
    <ul class="breadcrumb">
        <li><a href="<?= base_url() ?>"><?= lang('label_home') ?></a></li>
        <li><a href="<?= base_url("store/index/$store->id") ?>"><?= $storename->value ?></a></li>
        <li><?= $page['title'] ?></li>
    </ul>


    <div class="page">
        <?= $page['content'] ?>
        <br /><br /><br /><br />
    </div>
    <?php
}
else
    show_404()
    ?>

